package lambda.函数式接口;

import lambda.函数式接口.myinterface.Converter;

import java.util.function.Consumer;

/**
 * Created by ydw on 2017/6/26.
 */
public class FunctionInterface {
    public static void main(String[] args) {
        Converter<Integer,String> converter=from -> Integer.valueOf(from);
        System.out.println(converter.converter("123")+1);
    }
}
